<region35:template xmlns:region35="http://region35.ru/template5/" encoding='utf-8'>
	<ruslan:info id='info' xmlns:ruslan="http://region35.ru/template5/info/">
		<ruslan:copyright value="проверка" />
		<ruslan:describe value="проверка" />
	</ruslan:info>
<html>
<body>
	<region35:templinsert id='1' skip>Hrere is text</region35:templinsert>
	<h1>Template4 test</h1>
	<a>
		<div>
			<region35:container id='1' skip>Hrere is text</region35:container>
			<p>345345345</p>
		</div>
		<span>345345345</span>
	</a>

	<region35:while id="r"><table>
		<region35:repeat id="here" init>
			<region35:if id="here">
				<region35:if id="here" cond="2 == ($this.parent// 2)"><tr>
					<td><div><div>
						<region35:container id='2' skip>
							<region35:container id='4' skip>Hrere is text</region35:container>Hrere is text
							<region35:templinsert id='ruslan' skip>Hrere is text</region35:templinsert>
						</region35:container>
					</div></div></td>
					<td><region35:container id='3' skip>Hrere is text</region35:container></td>
				</tr></region35:if>
			</region35:if>
		</region35:repeat>
	</table></region35:while>


	<region35:switch id="r">
		<region35:case id="true" cond="0">
			<region35:while id="r"><table>
				<region35:repeat id="here" init>
					<region35:if id="here">
						<region35:if id="here" cond="2 == ($this.parent// 2)"><tr>
							<td><div><div>
								<region35:container id='2' skip>
									<region35:container id='4' skip>Hrere is text</region35:container>Hrere is text
									<region35:templinsert id='ruslan' skip>Hrere is text</region35:templinsert>
								</region35:container>
							</div></div></td>
							<td><region35:container id='3' skip>Hrere is text</region35:container></td>
						</tr></region35:if>
					</region35:if>
				</region35:repeat>
			</table></region35:while>
		</region35:case>

		<region35:case id="false" cond="1">
			<region35:if id="r"><table>
				<region35:repeat id="here" cond="$this.parent + 1 + $this"><tr>
					<td><div><div>
						<region35:container id='2' skip>
							<region35:container id='4' skip>Hrere is text</region35:container>Hrere is text
							<region35:templinsert id='ruslan' skip>Hrere is text</region35:templinsert>
						</region35:container>
					</div></div></td>
					<td><region35:container id='3' skip>Hrere is text</region35:container></td>
				</tr></region35:repeat>
			</table></region35:if>

			<region35:cache id='cache'>
			asdas dasd asd asd 
			</region35:cache>
		</region35:case>
	</region35:switch>
</body>	
</html>	
</region35:template>